package f_string;

public class StringBufferEx {
	public StringBufferEx(){
		StringBuffer b1 = new StringBuffer("aaa");
		StringBuffer b2 = new StringBuffer("aaa");
		
		if(b1.equals(b2)) System.out.println("같아요");
		else System.out.println("달라요");
		
		String s1 = b1.toString();
		String s2 = b2.toString();
		
		if(s1.equals(s2)) System.out.println("같아요");
		else System.out.println("달라요");
	}
	
	public static void main(String[] args) {
		new StringBufferEx();
	}
}
